package com.fimmlps.reronge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("entry_single")
public class EntrySingle implements Serializable {

  @TableId(value = "entry_single_id",type = IdType.AUTO)
  private Integer entrySingleId;

  private String title;
  private String resume;
  private String description;
  private String htmlContent;
  private Integer createUserId;
  private Integer clicks;
  private LocalDateTime createTime;
  private LocalDateTime updateTime;


  public Integer getEntrySingleId() {
    return entrySingleId;
  }

  public void setEntrySingleId(Integer entrySingleId) {
    this.entrySingleId = entrySingleId;
  }


  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  public String getResume() {
    return resume;
  }

  public void setResume(String resume) {
    this.resume = resume;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Integer getCreateUserId(){return createUserId;}

  public void setCreateUserId(Integer createUserId){this.createUserId = createUserId;}

  public Integer getClicks(){return clicks;}

  public void setClicks(Integer clicks){this.clicks = clicks;}


  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }

  public LocalDateTime getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(LocalDateTime updateTime) {
    this.updateTime = updateTime;
  }
}
